package com.uduew.sjd.view.xpop;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;

import com.uduew.sjd.R;
import com.lxj.xpopup.core.CenterPopupView;

//Acclaim Xpop
public class IdCardXpop extends CenterPopupView implements View.OnClickListener {

    private View tvEnter;

    public IdCardXpop(@NonNull Context context) {
        super(context);
    }

    @Override
    protected int getImplLayoutId() {
        return R.layout.xpop_code_tip;
    }

    @Override
    protected void onCreate() {
        super.onCreate();
        tvEnter = findViewById(R.id.tv_enter);
        tvEnter.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        if (v.getId() == R.id.tv_enter) {
            dismiss();
        }
    }
}